package Graphique;

import java.util.TimerTask;

public class MyTimerTask extends TimerTask {
	
	private Fenetre fenetre;
	
	public MyTimerTask(Fenetre f){
		this.fenetre = f;
	}

	@Override
	public void run() {
		fenetre.placerVoiture();
	}

}
